package cn.tomoki.demo01.mapper;

import cn.tomoki.demo01.entity.Product;
import cn.tomoki.demo01.entity.ProductAppointOverview;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.LinkedList;

@Mapper
@Repository
public interface ProductMapper {
    Collection<Product> getProductAll();
    Product getProductById(String id);
    Collection<ProductAppointOverview> getProductAppointOverview();
    Product getProductByName(String name);
}
